import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sn
# df=pd.read_excel('2022年某店铺3个分店销售额.xlsx')
# x=df['月份']
# y=df['第一分店']
# plt.figure(figsize=(8,4))
# plt.rcParams['font.sans-serif']='SimHei'
# plt.title('2022年某店铺第一分店销售额')
# plt.xlabel('月份')
# plt.ylabel('销售额(万元)')
# plt.grid(axis='both')
# for a,b in zip(x,y):
#     plt.text(x=a,y=b,s=b,ha='right')
# plt.plot(x,y,'m:v')
# plt.legend(('第一分店',),loc='best')
# plt.show()





















x = [1,2,3]
y = [4,9,8]
y1 = [9,8,7]
sn.set_style(style='ticks', rc={'font.sans-serif': 'SimHei'})
plt.title('seaborn样式主题')
plt.xlabel('x')
plt.ylabel('y')
sn.lineplot(x=x, y=y)
sn.lineplot(x=x, y=y1)
plt.show()




















































